package com.chengma.domain.vo;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;
@Data
public class CommentTreeDTO {
    private Integer id;
    private String content;
    private String createUser;
    private LocalDateTime createTime;
    private Integer likes;
    private Integer replyId;
    private List<CommentTreeDTO> children; // 子评论

    /**
     * 点赞数
     */
    private int likedNum;
    /**
     * 收藏数
     */
    private int collectedNum;
    /**
     * 评论数
     */
    private int commentNum;

}
